package com.hs.admin.client;

import com.hs.common.api.dto.ResultVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author Bai Dingkun
 * @date 2022-07-27
 * @desc
 */
@FeignClient("admin-service")
public interface AdminClient {

    @GetMapping("/admin/find")
    ResultVo findAdminByName(String username);

}
